home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 December / PCWDEC07.iso / Software / Freeware / FlashGot 0.6.4 / chrome / flashgot.jar / content / flashgot / flashgotOptions.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-08-29  |  9.9 KB  |  267 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.  
  4.     FlashGot - a Firefox extension for external download managers integration
  5.     Copyright (C) 2004-2006 Giorgio Maone - g.maone@informaction.com
  6.  
  7. ***** END LICENSE BLOCK ***** -->
  8. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  9.  
  10. <!DOCTYPE overlay [
  11. <!ENTITY % flashgot SYSTEM "chrome://flashgot/locale/flashgot.dtd" >
  12. %flashgot;
  13. <!ENTITY % flashgotFB  SYSTEM "chrome://flashgot/content/en-US/flashgot.dtd" >
  14. %flashgotFB;
  15. ]
  16. >
  17.  
  18. <dialog id="flashgotOptions" 
  19.   onload="fgo_onload()"
  20.   ondialogaccept="fgo_save()"
  21.   title="&flashgotOptions;"
  22.   buttons="accept,cancel"
  23.   flex="1"
  24.   persist="screenX screenY"
  25.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  26. >
  27.  
  28.   <script type="application/x-javascript" src="flashgotCommon.js"/>
  29.   <script type="application/x-javascript" src="flashgotOptions.js"/>
  30.   
  31.   <popupset>
  32.       <tooltip id="quoteWarn" position="at_pointer" orient="vertical" >
  33.         <description>&flashgotQuoteWarn1;</description>
  34.         <description>&flashgotQuoteWarn2;</description>
  35.       </tooltip>
  36.    </popupset>
  37.  
  38.   <tabbox id="mainTabbox" flex="1" >
  39.   <tabs>
  40.     <tab label="&flashgotGeneral;"/>
  41.     <tab label="&flashgotMenu;"/>
  42.     <tab id="tab-downloads" label="&flashgotDownloads;"/>
  43.     <tab label="&flashgotPrivacy;"/>
  44.     <tab label="&flashgotAdvanced;"/>
  45.   </tabs>
  46.     <tabpanels flex="1">
  47.       <tabpanel flex="1">
  48.       <vbox flex="1">  
  49.         <vbox>
  50.           <label class="header" value="&flashgotDownloadManager;" />
  51.           <hbox align="center">
  52.             <menulist id="downloadManagers" flex="1">
  53.             <menupopup id="mp-dms">
  54.             </menupopup>
  55.             </menulist>
  56.             <button id="customDM-add" oncommand="g_cust.add()" 
  57.               label="&flashgotAdd;" />
  58.            </hbox>
  59.          </vbox>
  60.         <deck id="dmsdeck" selectedIndex="1" flex="1">
  61.           <vbox flex="1">
  62.           <label value="&flashgotExecutable;" />  
  63.           <hbox align="center">
  64.               <textbox id="customDM-exeFile" readonly="true" flex="1"
  65.                  />
  66.                <button label="&flashgotBrowse;"
  67.                     oncommand="g_cust.locateExe()" />
  68.             </hbox>
  69.             <hbox align="center">
  70.               <label value="&flashgotArguments;"  />
  71.                <spacer flex="1" />
  72.               <toolbar style="border: 0px; margin: 0px; padding: 0px; background: transparent;">
  73.               <toolbarbutton style="border: none; background: transparent;"
  74.                 label="&flashgotPlaceHolders;" type="menu">
  75.                 <menupopup>
  76.                   <menuitem id="ph-" hidden="true" oncommand="g_cust.insertPH(this.id)"/>
  77.                 </menupopup>
  78.               </toolbarbutton>
  79.             </toolbar>
  80.             </hbox>
  81.             <textbox id="customDM-args" multiline="true" flex="1" 
  82.               cols="60" rows="3"  
  83.               oninput="g_cust.argsChanged(this)" />
  84.             
  85.             <hbox align="center">
  86.               
  87.                <spacer flex="1" />
  88.               <button label="&flashgotRemove;" oncommand="g_cust.remove()" />
  89.             </hbox>
  90.           </vbox>
  91.            <vbox flex="1">
  92.             <checkbox class="dm-opt" id="opt-Net_Transport.encode" label="&flashgotEncodeURLs;" />
  93.             
  94.             <checkbox class="dm-opt" id="opt-Downloader_4_X.quiet" label="&flashgotDMQuiet;" />
  95.             
  96.             <checkbox class="dm-opt" id="opt-GetRight.quick" label="&flashgotGetRightQuick;" />
  97.             <checkbox class="dm-opt" id="opt-GetRight.old" label="&flashgotGetRightOld;" />
  98.             <checkbox class="dm-opt" id="opt-GetRight.autostart" label="&flashgotAutostart;" />
  99.             <label id="nodms" collapsed="true"
  100.                style="color: #0000FF; text-decoration: none; cursor: pointer; margin: 4px; padding: 4px; background-color: yellow; border: 1px solid red"
  101.                tooltiptext="&flashgotNoDMS.tip;"
  102.                onclick="gFlashGotService.showDMSReference()"
  103.                >&flashgotNoDMS;</label>
  104.               
  105.             <hbox class="dm-opt" id="hbox-WellGet" align="center">
  106.               <label id="wellget-label" value="&flashgotWellGetPath;" />
  107.               <textbox readonly="true" id="wellget-text" flex="1" />
  108.               <button label="&flashgotBrowse;" onclick="fgo_browseWellGet()" />
  109.               <button label="&flashgotReset;" onclick="fgo_browseWellGet(true)" />
  110.             </hbox>
  111.                
  112.             </vbox>
  113.             
  114.           </deck>
  115.           <checkbox id="shownInContextMenu" label="&flashgotShownInContextMenu;" 
  116.               oncommand="fgo_shownInContextMenuClicked(this)" />
  117.       
  118.           <separator class="groove" />
  119.             
  120.           <checkbox id="opt-includeImages" label="&includeImages.label;" />
  121.           <checkbox id="opt-altClick" label="&flashgotAltClick;" />
  122.           <checkbox id="opt-bypassCombo" label="&flashgotBypassCombo;" />
  123.        </vbox>
  124.       </tabpanel>
  125.       <tabpanel>
  126.       <vbox flex="1">
  127.       <spacer flex="1" />
  128.       <hbox flex="1">
  129.         <spacer flex="1" />
  130.         <vbox>
  131.         <!--
  132.         <checkbox id="invopt-hide-menu" label="FlashGot &flashgotMenu;" />
  133.         <separator />
  134.         -->
  135.           <checkbox id="invopt-hide-it" label="&flashgotLink;" />
  136.           <checkbox id="invopt-hide-sel" label="&flashgotSel;" />
  137.           <checkbox id="invopt-hide-all" label="&flashgotAll;" />
  138.           <checkbox id="invopt-hide-tabs" label="&flashgotTabs;" />
  139.           <separator />
  140.          
  141.           <checkbox id="invopt-hide-buildGallery" label="&flashgotBuildGallery;" />
  142.           <checkbox id="invopt-hide-options" label="&flashgotOptions;" />
  143.           <separator />
  144.           <separator class="groove" />
  145.           <separator />
  146.           <checkbox id="opt-hideDisabledCmds" label="&hideDisabledCmds.label;" />
  147.          <checkbox id="opt-hide-icons" label="&hideIcons;" />
  148.          <checkbox id="opt-nested-menu" label="&nestedMenu;" />
  149.         </vbox>
  150.         <spacer flex="1" />
  151.       </hbox>
  152.        <spacer flex="1" />
  153.        </vbox>
  154.       </tabpanel>
  155.       <tabpanel>
  156.       <vbox flex="1">
  157.       <checkbox id="opt-autoStart" label="&flashgotAutostart;" />
  158.       <separator class="thin" />
  159.       <radiogroup id="interception-rg"
  160.         onselect="fgo_interceptionSelected(this)">
  161.         <radio id="interceptAll-radio" label="&flashgotInterceptAll;" />
  162.         <separator class="groove" />
  163.         <radio id="interceptExt-radio" label="&flashgotExtensions;" />
  164.       </radiogroup>
  165.       <grid id="extensions-box" flex="1">
  166.       <columns>
  167.         <column flex="1"/>
  168.         <column />
  169.       </columns>
  170.       <rows>
  171.        <row align="center">
  172.         <textbox id="ext-text" oninput="fgo_extText_changed()" />
  173.         <button id="ext-add-button" 
  174.           label="&flashgotAdd;"  
  175.           oncommand="fgo_ext_add()" disabled="true" />
  176.        </row>
  177.        <row>
  178.        <listbox id="ext-list" seltype="multiple" 
  179.                   onselect="fgo_extList_changed()" 
  180.                   rows="8" 
  181.                   >
  182.                   <listitem id="fake_ext_item" label=" " />
  183.                   </listbox>
  184.        <vbox>
  185.        <button id="ext-remove-button" 
  186.         label="&flashgotRemove;" 
  187.         oncommand="fgo_ext_remove()" disabled="true" />
  188.        </vbox>
  189.        </row>
  190.        <row>
  191.         <checkbox id="opt-extfilter" label="&flashgotExtFilter;" />
  192.        </row>
  193.       </rows>
  194.      
  195.       </grid>
  196.       
  197.       </vbox>
  198.       </tabpanel>
  199.       <tabpanel>
  200.        <vbox flex="1" >
  201.           <label class="header" value="&flashgotReferrer;" />
  202.           <radiogroup id="referrer-radio">
  203.           <radio value="true" label="&flashgotAutodetectReferrer;" />
  204.           <radio value="false" label="&flashgotFakeReferrer;" />
  205.           <hbox>
  206.             <spacer width="20" />
  207.             <textbox id="referrer-text" flex="1" />
  208.           </hbox>
  209.           </radiogroup>
  210.           <spacer flex="1" />
  211.           <separator class="groove" />
  212.         
  213.              <checkbox id="invopt-omitCookies" label="&flashgotSendCookies;" />
  214.              <checkbox id="opt-httpauth" label="&flashgotHTTPAuth;" />
  215.           <spacer flex="1" /> 
  216.             
  217.        </vbox>
  218.       </tabpanel>
  219.       <tabpanel>
  220.      
  221.       <vbox flex="1" >
  222.         <label class="header" id="tmpdir-label" value="&flashgotTmpDir;" />
  223.         <hbox align="center">
  224.           
  225.           <textbox id="tmpdir-text" readonly="true" flex="1"/>
  226.           <button label="&flashgotBrowse;"
  227.             oncommand="fgo_browseTmpDir()" />
  228.         </hbox>
  229.         <description id="tmpdir-warning" 
  230.           style="visibility: hidden">&flashgotRebootChange;</description>
  231.         <spacer flex="1" />
  232.         
  233.         <!-- <separator class="groove" />
  234.          <checkbox id="opt-bgProcessing"  label="&flashgotBGProcessing;" />
  235.          -->
  236.          
  237.         <spacer flex="1" />
  238.         <separator class="groove" />
  239.         <hbox align="center">
  240.           <checkbox id="opt-detect.auto"  label="&flashgotAutodetect;" />
  241.            <spacer flex="1" />
  242.           <button label="&flashgotDetect;" oncommand="gFlashGotService.checkDownloadManagers(true,true)" />
  243.          </hbox> 
  244.          
  245.          <spacer flex="1" />
  246.         <separator class="groove" />
  247.         <hbox align="center">
  248.           <label class="header" id="tmpdir-label" value="&flashgotLog;" />
  249.           <checkbox id="invopt-logEnabled"  label="&flashgotDisable;" />
  250.           <spacer flex="1" />
  251.             <button label="&flashgotShowLog;" 
  252.               oncommand="fgo_showLog()"  
  253.             />
  254.             <button label="&flashgotClearLog;" 
  255.               oncommand="fgo_clearLog()"  
  256.             />
  257.           </hbox>
  258.     
  259.        </vbox>
  260.       </tabpanel>
  261.     </tabpanels>
  262.   </tabbox>
  263.   
  264.   <description id="badInstall" flex="1" hidden="true" >&flashgotBadInstall;</description>
  265.   
  266. </dialog>
  267.